package com.inspection.dao;

import com.inspection.entity.InspectionEventDO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface InspectionEventDao extends JpaRepository<InspectionEventDO,Long>, JpaSpecificationExecutor<InspectionEventDO> {

    List<InspectionEventDO> findByInspectionTypeIn(Iterable types);

}
